package com.coda.Properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {

    /**
     *properties文件 jwt令牌相关配置
     */
    private String SecretKey;
    private long ttl;
    private String TokenName;

}
